<?php
// no direct access
defined('_JEXEC') or die;
$app = JFactory::getApplication();
$templateUrl = JURI::base() . 'templates/' . $app->getTemplate();
?>
<div class="small-3 large-3 columns left-banner">
	<div class="title">
		<h2>Tìm chuyến bay</h2>
	</div>
	<form method="POST" class="homesearchform custom cf" id="flightSearchForm" action="/Booking/SelectFlight">
		<input type="hidden" value="False" name="IsDetailAction" id="IsDetailAction">
		<input type="hidden" value="True" name="IsDomesticFlight" id="IsDomesticFlight">
		<div class="tickettype cf">
			<label for="radioOneWay">
				<input type="radio" value="1" name="JourneyType" id="radioOneWay" checked="checked" style="display: none;"><span class="custom radio checked"></span>Một chiều
			</label>

			<label for="radioRoundTrip">
				<input type="radio" value="2" name="JourneyType" id="radioRoundTrip" style="display: none;"><span class="custom radio"></span>Khứ hồi
			</label>
		</div>

		<div class="inout cf" id="fsd-source">
			<label class="location-lbl">Nơi đi</label>
			<input type="text" value="Nơi đi" readonly="True" name="DepartureCity-Holder" id="DepartureCity-Holder" class="location-list">
			<input type="hidden" value="SGN" name="DepartureCity" id="DepartureCity">
		</div>


		<div class="inout cf" id="fsd-arrival">
			<label class="location-lbl">Nơi đến</label>
			<input type="text" value="Nơi đến" readonly="True" name="ArrivalCity-Holder" id="ArrivalCity-Holder" class="location-list">
			<input type="hidden" value="HAN" name="ArrivalCity" id="ArrivalCity">
		</div>

		<div class="inout cf" id="fsd-departure-date">
			<label class="time-lbl">Ngày khởi hành:</label>
			<input type="text" placeholder="Ngày đi" name="from" id="from" class="time hasDatepicker" >


			<input type="hidden" value="" name="departureTime" id="departureTime">
			<span class="time-icon"></span>
		</div>


		<div class="inout cf" id="fsd-return-date">
			<label class="time-lbl">Ngày về</label>
			<input type="text" value="" placeholder="Ngày về" name="to" id="to" class="time hasDatepicker">        <input type="hidden" value="" name="returnTime" id="returnTime">
			<span class="time-icon"></span>
		</div>
		<div class="clear"></div>


		<div id="search-misc">
			<h6>Hotline</h6>
			<h4>1900 1213</h4>
		</div>
		<div class="right-block">
			<div class="submit cf" id="submit-search">
				<input type="submit" value="Tìm chuyến bay" id="btnSearchFlight" class="button small">
			</div>
			<a href="/sys/huong-dan-dat-ve-may-bay" class="booking-guide">Hướng Dẫn Đặt Vé</a>
		</div>
	</form>
</div>